package com.embracesource.business.platform.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.embracesource.business.platform.entity.User;
import com.embracesource.business.platform.mapper.UserMapper;
import com.embracesource.business.platform.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户管理 接口服务实现类
 * </p>
 *
 * @author gnerv
 * @since 2018-06-28
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User selectByAccount(String account) {
        return userMapper.selectByAccount(account);
    }
}
